CustomLayerHost

interface CustomLayerHost

Interface for hosting a custom map style layer.

Functions

contextLost
Link copied to clipboard
abstract fun contextLost()
Called when the system has destroyed the underlying GL context.
deinitialize
Link copied to clipboard
abstract fun deinitialize()
Destroy any GL state needed by the custom layer, and deallocate context, if necessary.
initialize
Link copied to clipboard
abstract fun initialize()
Initialize any GL state needed by the custom layer.
render
Link copied to clipboard
abstract fun render(@NonNull() parameters: CustomLayerRenderParameters)
Render the layer.